Fix icon reads in gpsutil format.
authorrobertl <robertl>
Sat, 10 Mar 2007 22:45:44 +0000 (22:45 +0000)
committerrobertl <robertl>
Sat, 10 Mar 2007 22:45:44 +0000 (22:45 +0000)
gpsutil.c

index 7f2c9ae8905e4eb78ccfb7067b5f2e145def9d33..d9f7dcbe3e52a4ec515cc9b7cadb8584c0f9ff8f 100644 (file)
--- a/gpsutil.c
+++ b/gpsutil.c
@@ -90,7 +90,7 @@ data_read(void)
                        ibuf += 9;
                }
                
-               n = sscanf(ibuf, "%lf%c %lf%c %ld%c %30[^,]s %2s",
+               n = sscanf(ibuf, "%lf%c %lf%c %ld%c %30[^,] %2s",
                        &lat, &latdir, &lon, &londir,
                        &alt, &alttype, desc, icon);
                /* Require at least first threee fields, otherwise ignore */